package org.one.disruptor;

import com.lmax.disruptor.WorkHandler;
import lombok.Data;
import org.one.entity.TranslatorDataWrapper;

/**
 * @Classname : MessageConsumer
 * @Description : 消费者
 * @Author : cty
 * @Date 2023/6/11 20:36
 */

@Data
public abstract class MessageConsumer implements WorkHandler<TranslatorDataWrapper>{

    protected String consumerId;

     protected MessageConsumer(String consumerId) {
         this.consumerId = consumerId;
     }

}
